<?php
require_once '../requires.php';
$pageKey = 'page';
$firstRow = ($_GET[$pageKey] - 1) * 10;
$listRows = 10; //可以和数据库操作结合
$totalRows = 98; //可以和数据库操作结合

$cfg = array(
	'pageKey' => $pageKey,
	'firstRow' => $firstRow,
	'listRows' => $listRows,
	'totalRows' => $totalRows,
);

Page::render($cfg);
?>